<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<!-- 引入样式 -->
<link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
<!-- 先引入 Vue -->
<script src="https://unpkg.com/vue/dist/vue.js"></script>
<!-- 引入组件库 -->
<script src="https://unpkg.com/element-ui/lib/index.js"></script>
<title></title>
<style>
.el-row{
	margin-bottom: 20px;
}
.el-col{
	padding: 12px;
	font-size: 21px;
}
.head{
	background:black;
	color: #00FFFF;
	text-align: center;
}
.content{
	background:gold;
	/* background:silver; */
	color:red;
}
</style>
</head>
<body>
	<div id="app">
		<el-row v-for="group in data">
			<el-col :span="3">&nbsp;</el-col>
			<template v-for="name in group">
				<el-col :span="3" class="head">{{name}}</el-col>
				<el-col :span="group.length==1 ? 15:6" class="content">
				内容</el-col>
				
			</template>
				<el-col :span="3">&nbsp;</el-col>
				
		<!-- 	<el-col :span="3" class="head">初定人数</el-col>
			<el-col :span="6" class="content">内容</el-col>
			
			<el-col :span="3" class="head">员工工时</el-col>
			<el-col :span="6" class="content">内容</el-col>
			<el-col :span="3">&nbsp;</el-col> -->
		
		</el-row>
	
	</div>
<script>
	let app= new Vue({
		
		el:"#app",
		data:{
			data:[
				['初定人数','员工工时'],
				['结束时点','结算方式'],
				['五险一金 缴纳规则'],
				['特别约定'],
				['联系人','联系方式'],
				['联系邮箱','联系地址'],
				['其他事项']
			]
		}
	})

</script>

</body>
</html>
